package com.jinsi.pojo;

import java.util.Date;
import java.util.List;

public class Equip {
// id
   private int  id;
// 设备名称
    private String name;// varchar(255)

    // 设备状态
   private String  equstatus;// varchar(255)
    // 设备编号
    private String equno;// varchar(255)
//    设备所属分类
    private int categoryId;//int
//    资产编号
    private String fixassetno;// varchar(255)
    //出厂编号
   private String factory;// varchar(255)

    //设备规格：
   private String specification;// varchar(255)

    //设备型号
   private String  serialno;// varchar(255)


    //入库日期：
    private Date storagedate;// date

    //出厂日期：
    private Date manufacturedate;// date
    //购置日期：
    private Date purchasedate;// date
    // 价格
    private String price;// varchar(255)
    //经手人
  private int  handler;// int
    //折旧方式
   private String  depreciation;// varchar(255)
    // 创建人
    private String createUser;//varchar(255)
    // 岗位/位置
    private String storelocation;// varchar(255)


    private String model;// varchar(255)

    //所属部门
   private int  group_id;// int

    // 原厂编号
    private String oriFacNo ;//varchar(255)

    // 使用状态
    private String eqmUseStatus;// varchar(255)

    // 使用年限
    private String useLife;// varchar(255)

//资产类别
    private String eqmClassify;// varchar(255)
    // 精准等级
    private String grade;// varchar(255)
    // 启动日期
    private Date eqmStartUseDate;//date
    // 原值
    private String originalValue;// varchar(255)
    // 描述
    private String comments;//longtext
    //
   private String  group_name;// varcha



    // 供应商id
    private List<Integer> supperid;


    // 所属部门
    private List<Integer> dpetids;

    public List<Integer> getSupperid() {
        return supperid;
    }

    public void setSupperid(List<Integer> supperid) {
        this.supperid = supperid;
    }

    public List<Integer> getDpetids() {
        return dpetids;
    }

    public void setDpetids(List<Integer> dpetids) {
        this.dpetids = dpetids;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEqustatus() {
        return equstatus;
    }

    public void setEqustatus(String equstatus) {
        this.equstatus = equstatus;
    }

    public String getEquno() {
        return equno;
    }

    public void setEquno(String equno) {
        this.equno = equno;
    }

    public int getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    public String getFixassetno() {
        return fixassetno;
    }

    public void setFixassetno(String fixassetno) {
        this.fixassetno = fixassetno;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getSerialno() {
        return serialno;
    }

    public void setSerialno(String serialno) {
        this.serialno = serialno;
    }

    public Date getStoragedate() {
        return storagedate;
    }

    public void setStoragedate(Date storagedate) {
        this.storagedate = storagedate;
    }

    public Date getManufacturedate() {
        return manufacturedate;
    }

    public void setManufacturedate(Date manufacturedate) {
        this.manufacturedate = manufacturedate;
    }

    public Date getPurchasedate() {
        return purchasedate;
    }

    public void setPurchasedate(Date purchasedate) {
        this.purchasedate = purchasedate;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public int getHandler() {
        return handler;
    }

    public void setHandler(int handler) {
        this.handler = handler;
    }

    public String getDepreciation() {
        return depreciation;
    }

    public void setDepreciation(String depreciation) {
        this.depreciation = depreciation;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getStorelocation() {
        return storelocation;
    }

    public void setStorelocation(String storelocation) {
        this.storelocation = storelocation;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public int getGroup_id() {
        return group_id;
    }

    public void setGroup_id(int group_id) {
        this.group_id = group_id;
    }

    public String getOriFacNo() {
        return oriFacNo;
    }

    public void setOriFacNo(String oriFacNo) {
        this.oriFacNo = oriFacNo;
    }

    public String getEqmUseStatus() {
        return eqmUseStatus;
    }

    public void setEqmUseStatus(String eqmUseStatus) {
        this.eqmUseStatus = eqmUseStatus;
    }

    public String getUseLife() {
        return useLife;
    }

    public void setUseLife(String useLife) {
        this.useLife = useLife;
    }

    public String getEqmClassify() {
        return eqmClassify;
    }

    public void setEqmClassify(String eqmClassify) {
        this.eqmClassify = eqmClassify;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public Date getEqmStartUseDate() {
        return eqmStartUseDate;
    }

    public void setEqmStartUseDate(Date eqmStartUseDate) {
        this.eqmStartUseDate = eqmStartUseDate;
    }

    public String getOriginalValue() {
        return originalValue;
    }

    public void setOriginalValue(String originalValue) {
        this.originalValue = originalValue;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getGroup_name() {
        return group_name;
    }

    public void setGroup_name(String group_name) {
        this.group_name = group_name;
    }


    @Override
    public String toString() {
        return "Equip{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", equstatus='" + equstatus + '\'' +
                ", equno='" + equno + '\'' +
                ", categoryId=" + categoryId +
                ", fixassetno='" + fixassetno + '\'' +
                ", factory='" + factory + '\'' +
                ", specification='" + specification + '\'' +
                ", serialno='" + serialno + '\'' +
                ", storagedate=" + storagedate +
                ", manufacturedate=" + manufacturedate +
                ", purchasedate=" + purchasedate +
                ", price='" + price + '\'' +
                ", handler=" + handler +
                ", depreciation='" + depreciation + '\'' +
                ", createUser='" + createUser + '\'' +
                ", storelocation='" + storelocation + '\'' +
                ", model='" + model + '\'' +
                ", group_id=" + group_id +
                ", oriFacNo='" + oriFacNo + '\'' +
                ", eqmUseStatus='" + eqmUseStatus + '\'' +
                ", useLife='" + useLife + '\'' +
                ", eqmClassify='" + eqmClassify + '\'' +
                ", grade='" + grade + '\'' +
                ", eqmStartUseDate=" + eqmStartUseDate +
                ", originalValue='" + originalValue + '\'' +
                ", comments='" + comments + '\'' +
                ", group_name='" + group_name + '\'' +
                ", supperid='" + supperid + '\'' +
                ", dpetids='" + dpetids + '\'' +
                '}';
    }
}
